07. Read Existing Code
Read Existing Code
Read through the Soonami App code
Take a moment to become familiar with the Soonami code related to the HTTP request and response. This is very challenging code to understand, so it’s normal for you to feel overwhelmed.
Try to go through line-by-line in the MainActivity.java code, even if you don’t know what it means. Notice what variables are created and what methods are called. Notice how the return values of certain methods are used in subsequent lines of code. We don’t expect you to understand everything yet, but prepare to answer a series of questions about the code.
Share advice on how to read code?
If you have any advice for other students on how to approach reading existing code that you didn’t write, we’d appreciate if you could leave your suggestions in this discussion forum thread. Thank you!